Option Strict On
Option Explicit On 

Public Class UCheckBox
    Inherits System.Windows.Forms.UserControl

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents lblDataField As System.Windows.Forms.Label
    Friend WithEvents cboDataField As System.Windows.Forms.ComboBox
    Friend WithEvents chkTabStop As System.Windows.Forms.CheckBox
    Friend WithEvents lblTabIndex As System.Windows.Forms.Label
    Friend WithEvents nudTabIndex As System.Windows.Forms.NumericUpDown
    Friend WithEvents chkChecked As System.Windows.Forms.CheckBox
    Friend WithEvents txtToolTip As System.Windows.Forms.TextBox
    Friend WithEvents lblToolTip As System.Windows.Forms.Label
    Friend WithEvents lblCheckStyle As System.Windows.Forms.Label
    Friend WithEvents cboCheckStyle As System.Windows.Forms.ComboBox
    Friend WithEvents cboParentRelation As System.Windows.Forms.ComboBox
    Friend WithEvents lblParentRelation As System.Windows.Forms.Label
    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
    Friend WithEvents btnExpression As System.Windows.Forms.Button
    Friend WithEvents txtExpression As System.Windows.Forms.TextBox
    Friend WithEvents lblExpression As System.Windows.Forms.Label
    Friend WithEvents btnFilter As System.Windows.Forms.Button
    Friend WithEvents lblFilter As System.Windows.Forms.Label
    Friend WithEvents txtFilter As System.Windows.Forms.TextBox
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(UCheckBox))
        Me.lblDataField = New System.Windows.Forms.Label
        Me.cboDataField = New System.Windows.Forms.ComboBox
        Me.lblCheckStyle = New System.Windows.Forms.Label
        Me.cboCheckStyle = New System.Windows.Forms.ComboBox
        Me.chkTabStop = New System.Windows.Forms.CheckBox
        Me.lblTabIndex = New System.Windows.Forms.Label
        Me.nudTabIndex = New System.Windows.Forms.NumericUpDown
        Me.chkChecked = New System.Windows.Forms.CheckBox
        Me.txtToolTip = New System.Windows.Forms.TextBox
        Me.lblToolTip = New System.Windows.Forms.Label
        Me.cboParentRelation = New System.Windows.Forms.ComboBox
        Me.lblParentRelation = New System.Windows.Forms.Label
        Me.btnExpression = New System.Windows.Forms.Button
        Me.txtExpression = New System.Windows.Forms.TextBox
        Me.lblExpression = New System.Windows.Forms.Label
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.btnFilter = New System.Windows.Forms.Button
        Me.lblFilter = New System.Windows.Forms.Label
        Me.txtFilter = New System.Windows.Forms.TextBox
        CType(Me.nudTabIndex, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.GroupBox1.SuspendLayout()
        Me.SuspendLayout()
        '
        'lblDataField
        '
        Me.lblDataField.AccessibleDescription = resources.GetString("lblDataField.AccessibleDescription")
        Me.lblDataField.AccessibleName = resources.GetString("lblDataField.AccessibleName")
        Me.lblDataField.Anchor = CType(resources.GetObject("lblDataField.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblDataField.AutoSize = CType(resources.GetObject("lblDataField.AutoSize"), Boolean)
        Me.lblDataField.Dock = CType(resources.GetObject("lblDataField.Dock"), System.Windows.Forms.DockStyle)
        Me.lblDataField.Enabled = CType(resources.GetObject("lblDataField.Enabled"), Boolean)
        Me.lblDataField.Font = CType(resources.GetObject("lblDataField.Font"), System.Drawing.Font)
        Me.lblDataField.Image = CType(resources.GetObject("lblDataField.Image"), System.Drawing.Image)
        Me.lblDataField.ImageAlign = CType(resources.GetObject("lblDataField.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblDataField.ImageIndex = CType(resources.GetObject("lblDataField.ImageIndex"), Integer)
        Me.lblDataField.ImeMode = CType(resources.GetObject("lblDataField.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblDataField.Location = CType(resources.GetObject("lblDataField.Location"), System.Drawing.Point)
        Me.lblDataField.Name = "lblDataField"
        Me.lblDataField.RightToLeft = CType(resources.GetObject("lblDataField.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblDataField.Size = CType(resources.GetObject("lblDataField.Size"), System.Drawing.Size)
        Me.lblDataField.TabIndex = CType(resources.GetObject("lblDataField.TabIndex"), Integer)
        Me.lblDataField.Text = resources.GetString("lblDataField.Text")
        Me.lblDataField.TextAlign = CType(resources.GetObject("lblDataField.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblDataField.Visible = CType(resources.GetObject("lblDataField.Visible"), Boolean)
        '
        'cboDataField
        '
        Me.cboDataField.AccessibleDescription = resources.GetString("cboDataField.AccessibleDescription")
        Me.cboDataField.AccessibleName = resources.GetString("cboDataField.AccessibleName")
        Me.cboDataField.Anchor = CType(resources.GetObject("cboDataField.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboDataField.BackgroundImage = CType(resources.GetObject("cboDataField.BackgroundImage"), System.Drawing.Image)
        Me.cboDataField.Dock = CType(resources.GetObject("cboDataField.Dock"), System.Windows.Forms.DockStyle)
        Me.cboDataField.Enabled = CType(resources.GetObject("cboDataField.Enabled"), Boolean)
        Me.cboDataField.Font = CType(resources.GetObject("cboDataField.Font"), System.Drawing.Font)
        Me.cboDataField.ImeMode = CType(resources.GetObject("cboDataField.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboDataField.IntegralHeight = CType(resources.GetObject("cboDataField.IntegralHeight"), Boolean)
        Me.cboDataField.ItemHeight = CType(resources.GetObject("cboDataField.ItemHeight"), Integer)
        Me.cboDataField.Location = CType(resources.GetObject("cboDataField.Location"), System.Drawing.Point)
        Me.cboDataField.MaxDropDownItems = CType(resources.GetObject("cboDataField.MaxDropDownItems"), Integer)
        Me.cboDataField.MaxLength = CType(resources.GetObject("cboDataField.MaxLength"), Integer)
        Me.cboDataField.Name = "cboDataField"
        Me.cboDataField.RightToLeft = CType(resources.GetObject("cboDataField.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboDataField.Size = CType(resources.GetObject("cboDataField.Size"), System.Drawing.Size)
        Me.cboDataField.TabIndex = CType(resources.GetObject("cboDataField.TabIndex"), Integer)
        Me.cboDataField.Text = resources.GetString("cboDataField.Text")
        Me.cboDataField.Visible = CType(resources.GetObject("cboDataField.Visible"), Boolean)
        '
        'lblCheckStyle
        '
        Me.lblCheckStyle.AccessibleDescription = resources.GetString("lblCheckStyle.AccessibleDescription")
        Me.lblCheckStyle.AccessibleName = resources.GetString("lblCheckStyle.AccessibleName")
        Me.lblCheckStyle.Anchor = CType(resources.GetObject("lblCheckStyle.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblCheckStyle.AutoSize = CType(resources.GetObject("lblCheckStyle.AutoSize"), Boolean)
        Me.lblCheckStyle.Dock = CType(resources.GetObject("lblCheckStyle.Dock"), System.Windows.Forms.DockStyle)
        Me.lblCheckStyle.Enabled = CType(resources.GetObject("lblCheckStyle.Enabled"), Boolean)
        Me.lblCheckStyle.Font = CType(resources.GetObject("lblCheckStyle.Font"), System.Drawing.Font)
        Me.lblCheckStyle.Image = CType(resources.GetObject("lblCheckStyle.Image"), System.Drawing.Image)
        Me.lblCheckStyle.ImageAlign = CType(resources.GetObject("lblCheckStyle.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblCheckStyle.ImageIndex = CType(resources.GetObject("lblCheckStyle.ImageIndex"), Integer)
        Me.lblCheckStyle.ImeMode = CType(resources.GetObject("lblCheckStyle.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblCheckStyle.Location = CType(resources.GetObject("lblCheckStyle.Location"), System.Drawing.Point)
        Me.lblCheckStyle.Name = "lblCheckStyle"
        Me.lblCheckStyle.RightToLeft = CType(resources.GetObject("lblCheckStyle.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblCheckStyle.Size = CType(resources.GetObject("lblCheckStyle.Size"), System.Drawing.Size)
        Me.lblCheckStyle.TabIndex = CType(resources.GetObject("lblCheckStyle.TabIndex"), Integer)
        Me.lblCheckStyle.Text = resources.GetString("lblCheckStyle.Text")
        Me.lblCheckStyle.TextAlign = CType(resources.GetObject("lblCheckStyle.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblCheckStyle.Visible = CType(resources.GetObject("lblCheckStyle.Visible"), Boolean)
        '
        'cboCheckStyle
        '
        Me.cboCheckStyle.AccessibleDescription = resources.GetString("cboCheckStyle.AccessibleDescription")
        Me.cboCheckStyle.AccessibleName = resources.GetString("cboCheckStyle.AccessibleName")
        Me.cboCheckStyle.Anchor = CType(resources.GetObject("cboCheckStyle.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboCheckStyle.BackgroundImage = CType(resources.GetObject("cboCheckStyle.BackgroundImage"), System.Drawing.Image)
        Me.cboCheckStyle.Dock = CType(resources.GetObject("cboCheckStyle.Dock"), System.Windows.Forms.DockStyle)
        Me.cboCheckStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboCheckStyle.Enabled = CType(resources.GetObject("cboCheckStyle.Enabled"), Boolean)
        Me.cboCheckStyle.Font = CType(resources.GetObject("cboCheckStyle.Font"), System.Drawing.Font)
        Me.cboCheckStyle.ImeMode = CType(resources.GetObject("cboCheckStyle.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboCheckStyle.IntegralHeight = CType(resources.GetObject("cboCheckStyle.IntegralHeight"), Boolean)
        Me.cboCheckStyle.ItemHeight = CType(resources.GetObject("cboCheckStyle.ItemHeight"), Integer)
        Me.cboCheckStyle.Location = CType(resources.GetObject("cboCheckStyle.Location"), System.Drawing.Point)
        Me.cboCheckStyle.MaxDropDownItems = CType(resources.GetObject("cboCheckStyle.MaxDropDownItems"), Integer)
        Me.cboCheckStyle.MaxLength = CType(resources.GetObject("cboCheckStyle.MaxLength"), Integer)
        Me.cboCheckStyle.Name = "cboCheckStyle"
        Me.cboCheckStyle.RightToLeft = CType(resources.GetObject("cboCheckStyle.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboCheckStyle.Size = CType(resources.GetObject("cboCheckStyle.Size"), System.Drawing.Size)
        Me.cboCheckStyle.TabIndex = CType(resources.GetObject("cboCheckStyle.TabIndex"), Integer)
        Me.cboCheckStyle.Text = resources.GetString("cboCheckStyle.Text")
        Me.cboCheckStyle.Visible = CType(resources.GetObject("cboCheckStyle.Visible"), Boolean)
        '
        'chkTabStop
        '
        Me.chkTabStop.AccessibleDescription = resources.GetString("chkTabStop.AccessibleDescription")
        Me.chkTabStop.AccessibleName = resources.GetString("chkTabStop.AccessibleName")
        Me.chkTabStop.Anchor = CType(resources.GetObject("chkTabStop.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.chkTabStop.Appearance = CType(resources.GetObject("chkTabStop.Appearance"), System.Windows.Forms.Appearance)
        Me.chkTabStop.BackgroundImage = CType(resources.GetObject("chkTabStop.BackgroundImage"), System.Drawing.Image)
        Me.chkTabStop.CheckAlign = CType(resources.GetObject("chkTabStop.CheckAlign"), System.Drawing.ContentAlignment)
        Me.chkTabStop.Dock = CType(resources.GetObject("chkTabStop.Dock"), System.Windows.Forms.DockStyle)
        Me.chkTabStop.Enabled = CType(resources.GetObject("chkTabStop.Enabled"), Boolean)
        Me.chkTabStop.FlatStyle = CType(resources.GetObject("chkTabStop.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.chkTabStop.Font = CType(resources.GetObject("chkTabStop.Font"), System.Drawing.Font)
        Me.chkTabStop.Image = CType(resources.GetObject("chkTabStop.Image"), System.Drawing.Image)
        Me.chkTabStop.ImageAlign = CType(resources.GetObject("chkTabStop.ImageAlign"), System.Drawing.ContentAlignment)
        Me.chkTabStop.ImageIndex = CType(resources.GetObject("chkTabStop.ImageIndex"), Integer)
        Me.chkTabStop.ImeMode = CType(resources.GetObject("chkTabStop.ImeMode"), System.Windows.Forms.ImeMode)
        Me.chkTabStop.Location = CType(resources.GetObject("chkTabStop.Location"), System.Drawing.Point)
        Me.chkTabStop.Name = "chkTabStop"
        Me.chkTabStop.RightToLeft = CType(resources.GetObject("chkTabStop.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.chkTabStop.Size = CType(resources.GetObject("chkTabStop.Size"), System.Drawing.Size)
        Me.chkTabStop.TabIndex = CType(resources.GetObject("chkTabStop.TabIndex"), Integer)
        Me.chkTabStop.Text = resources.GetString("chkTabStop.Text")
        Me.chkTabStop.TextAlign = CType(resources.GetObject("chkTabStop.TextAlign"), System.Drawing.ContentAlignment)
        Me.chkTabStop.Visible = CType(resources.GetObject("chkTabStop.Visible"), Boolean)
        '
        'lblTabIndex
        '
        Me.lblTabIndex.AccessibleDescription = resources.GetString("lblTabIndex.AccessibleDescription")
        Me.lblTabIndex.AccessibleName = resources.GetString("lblTabIndex.AccessibleName")
        Me.lblTabIndex.Anchor = CType(resources.GetObject("lblTabIndex.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblTabIndex.AutoSize = CType(resources.GetObject("lblTabIndex.AutoSize"), Boolean)
        Me.lblTabIndex.Dock = CType(resources.GetObject("lblTabIndex.Dock"), System.Windows.Forms.DockStyle)
        Me.lblTabIndex.Enabled = CType(resources.GetObject("lblTabIndex.Enabled"), Boolean)
        Me.lblTabIndex.Font = CType(resources.GetObject("lblTabIndex.Font"), System.Drawing.Font)
        Me.lblTabIndex.Image = CType(resources.GetObject("lblTabIndex.Image"), System.Drawing.Image)
        Me.lblTabIndex.ImageAlign = CType(resources.GetObject("lblTabIndex.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblTabIndex.ImageIndex = CType(resources.GetObject("lblTabIndex.ImageIndex"), Integer)
        Me.lblTabIndex.ImeMode = CType(resources.GetObject("lblTabIndex.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblTabIndex.Location = CType(resources.GetObject("lblTabIndex.Location"), System.Drawing.Point)
        Me.lblTabIndex.Name = "lblTabIndex"
        Me.lblTabIndex.RightToLeft = CType(resources.GetObject("lblTabIndex.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblTabIndex.Size = CType(resources.GetObject("lblTabIndex.Size"), System.Drawing.Size)
        Me.lblTabIndex.TabIndex = CType(resources.GetObject("lblTabIndex.TabIndex"), Integer)
        Me.lblTabIndex.Text = resources.GetString("lblTabIndex.Text")
        Me.lblTabIndex.TextAlign = CType(resources.GetObject("lblTabIndex.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblTabIndex.Visible = CType(resources.GetObject("lblTabIndex.Visible"), Boolean)
        '
        'nudTabIndex
        '
        Me.nudTabIndex.AccessibleDescription = resources.GetString("nudTabIndex.AccessibleDescription")
        Me.nudTabIndex.AccessibleName = resources.GetString("nudTabIndex.AccessibleName")
        Me.nudTabIndex.Anchor = CType(resources.GetObject("nudTabIndex.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.nudTabIndex.Dock = CType(resources.GetObject("nudTabIndex.Dock"), System.Windows.Forms.DockStyle)
        Me.nudTabIndex.Enabled = CType(resources.GetObject("nudTabIndex.Enabled"), Boolean)
        Me.nudTabIndex.Font = CType(resources.GetObject("nudTabIndex.Font"), System.Drawing.Font)
        Me.nudTabIndex.ImeMode = CType(resources.GetObject("nudTabIndex.ImeMode"), System.Windows.Forms.ImeMode)
        Me.nudTabIndex.Location = CType(resources.GetObject("nudTabIndex.Location"), System.Drawing.Point)
        Me.nudTabIndex.Maximum = New Decimal(New Integer() {10000, 0, 0, 0})
        Me.nudTabIndex.Name = "nudTabIndex"
        Me.nudTabIndex.RightToLeft = CType(resources.GetObject("nudTabIndex.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.nudTabIndex.Size = CType(resources.GetObject("nudTabIndex.Size"), System.Drawing.Size)
        Me.nudTabIndex.TabIndex = CType(resources.GetObject("nudTabIndex.TabIndex"), Integer)
        Me.nudTabIndex.TextAlign = CType(resources.GetObject("nudTabIndex.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.nudTabIndex.ThousandsSeparator = CType(resources.GetObject("nudTabIndex.ThousandsSeparator"), Boolean)
        Me.nudTabIndex.UpDownAlign = CType(resources.GetObject("nudTabIndex.UpDownAlign"), System.Windows.Forms.LeftRightAlignment)
        Me.nudTabIndex.Visible = CType(resources.GetObject("nudTabIndex.Visible"), Boolean)
        '
        'chkChecked
        '
        Me.chkChecked.AccessibleDescription = resources.GetString("chkChecked.AccessibleDescription")
        Me.chkChecked.AccessibleName = resources.GetString("chkChecked.AccessibleName")
        Me.chkChecked.Anchor = CType(resources.GetObject("chkChecked.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.chkChecked.Appearance = CType(resources.GetObject("chkChecked.Appearance"), System.Windows.Forms.Appearance)
        Me.chkChecked.BackgroundImage = CType(resources.GetObject("chkChecked.BackgroundImage"), System.Drawing.Image)
        Me.chkChecked.CheckAlign = CType(resources.GetObject("chkChecked.CheckAlign"), System.Drawing.ContentAlignment)
        Me.chkChecked.Dock = CType(resources.GetObject("chkChecked.Dock"), System.Windows.Forms.DockStyle)
        Me.chkChecked.Enabled = CType(resources.GetObject("chkChecked.Enabled"), Boolean)
        Me.chkChecked.FlatStyle = CType(resources.GetObject("chkChecked.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.chkChecked.Font = CType(resources.GetObject("chkChecked.Font"), System.Drawing.Font)
        Me.chkChecked.Image = CType(resources.GetObject("chkChecked.Image"), System.Drawing.Image)
        Me.chkChecked.ImageAlign = CType(resources.GetObject("chkChecked.ImageAlign"), System.Drawing.ContentAlignment)
        Me.chkChecked.ImageIndex = CType(resources.GetObject("chkChecked.ImageIndex"), Integer)
        Me.chkChecked.ImeMode = CType(resources.GetObject("chkChecked.ImeMode"), System.Windows.Forms.ImeMode)
        Me.chkChecked.Location = CType(resources.GetObject("chkChecked.Location"), System.Drawing.Point)
        Me.chkChecked.Name = "chkChecked"
        Me.chkChecked.RightToLeft = CType(resources.GetObject("chkChecked.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.chkChecked.Size = CType(resources.GetObject("chkChecked.Size"), System.Drawing.Size)
        Me.chkChecked.TabIndex = CType(resources.GetObject("chkChecked.TabIndex"), Integer)
        Me.chkChecked.Text = resources.GetString("chkChecked.Text")
        Me.chkChecked.TextAlign = CType(resources.GetObject("chkChecked.TextAlign"), System.Drawing.ContentAlignment)
        Me.chkChecked.Visible = CType(resources.GetObject("chkChecked.Visible"), Boolean)
        '
        'txtToolTip
        '
        Me.txtToolTip.AccessibleDescription = resources.GetString("txtToolTip.AccessibleDescription")
        Me.txtToolTip.AccessibleName = resources.GetString("txtToolTip.AccessibleName")
        Me.txtToolTip.Anchor = CType(resources.GetObject("txtToolTip.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtToolTip.AutoSize = CType(resources.GetObject("txtToolTip.AutoSize"), Boolean)
        Me.txtToolTip.BackgroundImage = CType(resources.GetObject("txtToolTip.BackgroundImage"), System.Drawing.Image)
        Me.txtToolTip.Dock = CType(resources.GetObject("txtToolTip.Dock"), System.Windows.Forms.DockStyle)
        Me.txtToolTip.Enabled = CType(resources.GetObject("txtToolTip.Enabled"), Boolean)
        Me.txtToolTip.Font = CType(resources.GetObject("txtToolTip.Font"), System.Drawing.Font)
        Me.txtToolTip.ImeMode = CType(resources.GetObject("txtToolTip.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtToolTip.Location = CType(resources.GetObject("txtToolTip.Location"), System.Drawing.Point)
        Me.txtToolTip.MaxLength = CType(resources.GetObject("txtToolTip.MaxLength"), Integer)
        Me.txtToolTip.Multiline = CType(resources.GetObject("txtToolTip.Multiline"), Boolean)
        Me.txtToolTip.Name = "txtToolTip"
        Me.txtToolTip.PasswordChar = CType(resources.GetObject("txtToolTip.PasswordChar"), Char)
        Me.txtToolTip.RightToLeft = CType(resources.GetObject("txtToolTip.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtToolTip.ScrollBars = CType(resources.GetObject("txtToolTip.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtToolTip.Size = CType(resources.GetObject("txtToolTip.Size"), System.Drawing.Size)
        Me.txtToolTip.TabIndex = CType(resources.GetObject("txtToolTip.TabIndex"), Integer)
        Me.txtToolTip.Text = resources.GetString("txtToolTip.Text")
        Me.txtToolTip.TextAlign = CType(resources.GetObject("txtToolTip.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtToolTip.Visible = CType(resources.GetObject("txtToolTip.Visible"), Boolean)
        Me.txtToolTip.WordWrap = CType(resources.GetObject("txtToolTip.WordWrap"), Boolean)
        '
        'lblToolTip
        '
        Me.lblToolTip.AccessibleDescription = resources.GetString("lblToolTip.AccessibleDescription")
        Me.lblToolTip.AccessibleName = resources.GetString("lblToolTip.AccessibleName")
        Me.lblToolTip.Anchor = CType(resources.GetObject("lblToolTip.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblToolTip.AutoSize = CType(resources.GetObject("lblToolTip.AutoSize"), Boolean)
        Me.lblToolTip.Dock = CType(resources.GetObject("lblToolTip.Dock"), System.Windows.Forms.DockStyle)
        Me.lblToolTip.Enabled = CType(resources.GetObject("lblToolTip.Enabled"), Boolean)
        Me.lblToolTip.Font = CType(resources.GetObject("lblToolTip.Font"), System.Drawing.Font)
        Me.lblToolTip.Image = CType(resources.GetObject("lblToolTip.Image"), System.Drawing.Image)
        Me.lblToolTip.ImageAlign = CType(resources.GetObject("lblToolTip.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblToolTip.ImageIndex = CType(resources.GetObject("lblToolTip.ImageIndex"), Integer)
        Me.lblToolTip.ImeMode = CType(resources.GetObject("lblToolTip.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblToolTip.Location = CType(resources.GetObject("lblToolTip.Location"), System.Drawing.Point)
        Me.lblToolTip.Name = "lblToolTip"
        Me.lblToolTip.RightToLeft = CType(resources.GetObject("lblToolTip.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblToolTip.Size = CType(resources.GetObject("lblToolTip.Size"), System.Drawing.Size)
        Me.lblToolTip.TabIndex = CType(resources.GetObject("lblToolTip.TabIndex"), Integer)
        Me.lblToolTip.Text = resources.GetString("lblToolTip.Text")
        Me.lblToolTip.TextAlign = CType(resources.GetObject("lblToolTip.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblToolTip.Visible = CType(resources.GetObject("lblToolTip.Visible"), Boolean)
        '
        'cboParentRelation
        '
        Me.cboParentRelation.AccessibleDescription = resources.GetString("cboParentRelation.AccessibleDescription")
        Me.cboParentRelation.AccessibleName = resources.GetString("cboParentRelation.AccessibleName")
        Me.cboParentRelation.Anchor = CType(resources.GetObject("cboParentRelation.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboParentRelation.BackColor = System.Drawing.SystemColors.Window
        Me.cboParentRelation.BackgroundImage = CType(resources.GetObject("cboParentRelation.BackgroundImage"), System.Drawing.Image)
        Me.cboParentRelation.Dock = CType(resources.GetObject("cboParentRelation.Dock"), System.Windows.Forms.DockStyle)
        Me.cboParentRelation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboParentRelation.Enabled = CType(resources.GetObject("cboParentRelation.Enabled"), Boolean)
        Me.cboParentRelation.Font = CType(resources.GetObject("cboParentRelation.Font"), System.Drawing.Font)
        Me.cboParentRelation.ImeMode = CType(resources.GetObject("cboParentRelation.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboParentRelation.IntegralHeight = CType(resources.GetObject("cboParentRelation.IntegralHeight"), Boolean)
        Me.cboParentRelation.ItemHeight = CType(resources.GetObject("cboParentRelation.ItemHeight"), Integer)
        Me.cboParentRelation.Location = CType(resources.GetObject("cboParentRelation.Location"), System.Drawing.Point)
        Me.cboParentRelation.MaxDropDownItems = CType(resources.GetObject("cboParentRelation.MaxDropDownItems"), Integer)
        Me.cboParentRelation.MaxLength = CType(resources.GetObject("cboParentRelation.MaxLength"), Integer)
        Me.cboParentRelation.Name = "cboParentRelation"
        Me.cboParentRelation.RightToLeft = CType(resources.GetObject("cboParentRelation.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboParentRelation.Size = CType(resources.GetObject("cboParentRelation.Size"), System.Drawing.Size)
        Me.cboParentRelation.TabIndex = CType(resources.GetObject("cboParentRelation.TabIndex"), Integer)
        Me.cboParentRelation.Text = resources.GetString("cboParentRelation.Text")
        Me.cboParentRelation.Visible = CType(resources.GetObject("cboParentRelation.Visible"), Boolean)
        '
        'lblParentRelation
        '
        Me.lblParentRelation.AccessibleDescription = resources.GetString("lblParentRelation.AccessibleDescription")
        Me.lblParentRelation.AccessibleName = resources.GetString("lblParentRelation.AccessibleName")
        Me.lblParentRelation.Anchor = CType(resources.GetObject("lblParentRelation.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblParentRelation.AutoSize = CType(resources.GetObject("lblParentRelation.AutoSize"), Boolean)
        Me.lblParentRelation.Dock = CType(resources.GetObject("lblParentRelation.Dock"), System.Windows.Forms.DockStyle)
        Me.lblParentRelation.Enabled = CType(resources.GetObject("lblParentRelation.Enabled"), Boolean)
        Me.lblParentRelation.Font = CType(resources.GetObject("lblParentRelation.Font"), System.Drawing.Font)
        Me.lblParentRelation.Image = CType(resources.GetObject("lblParentRelation.Image"), System.Drawing.Image)
        Me.lblParentRelation.ImageAlign = CType(resources.GetObject("lblParentRelation.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblParentRelation.ImageIndex = CType(resources.GetObject("lblParentRelation.ImageIndex"), Integer)
        Me.lblParentRelation.ImeMode = CType(resources.GetObject("lblParentRelation.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblParentRelation.Location = CType(resources.GetObject("lblParentRelation.Location"), System.Drawing.Point)
        Me.lblParentRelation.Name = "lblParentRelation"
        Me.lblParentRelation.RightToLeft = CType(resources.GetObject("lblParentRelation.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblParentRelation.Size = CType(resources.GetObject("lblParentRelation.Size"), System.Drawing.Size)
        Me.lblParentRelation.TabIndex = CType(resources.GetObject("lblParentRelation.TabIndex"), Integer)
        Me.lblParentRelation.Text = resources.GetString("lblParentRelation.Text")
        Me.lblParentRelation.TextAlign = CType(resources.GetObject("lblParentRelation.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblParentRelation.Visible = CType(resources.GetObject("lblParentRelation.Visible"), Boolean)
        '
        'btnExpression
        '
        Me.btnExpression.AccessibleDescription = resources.GetString("btnExpression.AccessibleDescription")
        Me.btnExpression.AccessibleName = resources.GetString("btnExpression.AccessibleName")
        Me.btnExpression.Anchor = CType(resources.GetObject("btnExpression.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.btnExpression.BackgroundImage = CType(resources.GetObject("btnExpression.BackgroundImage"), System.Drawing.Image)
        Me.btnExpression.Dock = CType(resources.GetObject("btnExpression.Dock"), System.Windows.Forms.DockStyle)
        Me.btnExpression.Enabled = CType(resources.GetObject("btnExpression.Enabled"), Boolean)
        Me.btnExpression.FlatStyle = CType(resources.GetObject("btnExpression.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.btnExpression.Font = CType(resources.GetObject("btnExpression.Font"), System.Drawing.Font)
        Me.btnExpression.Image = CType(resources.GetObject("btnExpression.Image"), System.Drawing.Image)
        Me.btnExpression.ImageAlign = CType(resources.GetObject("btnExpression.ImageAlign"), System.Drawing.ContentAlignment)
        Me.btnExpression.ImageIndex = CType(resources.GetObject("btnExpression.ImageIndex"), Integer)
        Me.btnExpression.ImeMode = CType(resources.GetObject("btnExpression.ImeMode"), System.Windows.Forms.ImeMode)
        Me.btnExpression.Location = CType(resources.GetObject("btnExpression.Location"), System.Drawing.Point)
        Me.btnExpression.Name = "btnExpression"
        Me.btnExpression.RightToLeft = CType(resources.GetObject("btnExpression.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.btnExpression.Size = CType(resources.GetObject("btnExpression.Size"), System.Drawing.Size)
        Me.btnExpression.TabIndex = CType(resources.GetObject("btnExpression.TabIndex"), Integer)
        Me.btnExpression.Text = resources.GetString("btnExpression.Text")
        Me.btnExpression.TextAlign = CType(resources.GetObject("btnExpression.TextAlign"), System.Drawing.ContentAlignment)
        Me.btnExpression.Visible = CType(resources.GetObject("btnExpression.Visible"), Boolean)
        '
        'txtExpression
        '
        Me.txtExpression.AccessibleDescription = resources.GetString("txtExpression.AccessibleDescription")
        Me.txtExpression.AccessibleName = resources.GetString("txtExpression.AccessibleName")
        Me.txtExpression.Anchor = CType(resources.GetObject("txtExpression.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtExpression.AutoSize = CType(resources.GetObject("txtExpression.AutoSize"), Boolean)
        Me.txtExpression.BackgroundImage = CType(resources.GetObject("txtExpression.BackgroundImage"), System.Drawing.Image)
        Me.txtExpression.Dock = CType(resources.GetObject("txtExpression.Dock"), System.Windows.Forms.DockStyle)
        Me.txtExpression.Enabled = CType(resources.GetObject("txtExpression.Enabled"), Boolean)
        Me.txtExpression.Font = CType(resources.GetObject("txtExpression.Font"), System.Drawing.Font)
        Me.txtExpression.ImeMode = CType(resources.GetObject("txtExpression.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtExpression.Location = CType(resources.GetObject("txtExpression.Location"), System.Drawing.Point)
        Me.txtExpression.MaxLength = CType(resources.GetObject("txtExpression.MaxLength"), Integer)
        Me.txtExpression.Multiline = CType(resources.GetObject("txtExpression.Multiline"), Boolean)
        Me.txtExpression.Name = "txtExpression"
        Me.txtExpression.PasswordChar = CType(resources.GetObject("txtExpression.PasswordChar"), Char)
        Me.txtExpression.RightToLeft = CType(resources.GetObject("txtExpression.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtExpression.ScrollBars = CType(resources.GetObject("txtExpression.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtExpression.Size = CType(resources.GetObject("txtExpression.Size"), System.Drawing.Size)
        Me.txtExpression.TabIndex = CType(resources.GetObject("txtExpression.TabIndex"), Integer)
        Me.txtExpression.Text = resources.GetString("txtExpression.Text")
        Me.txtExpression.TextAlign = CType(resources.GetObject("txtExpression.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtExpression.Visible = CType(resources.GetObject("txtExpression.Visible"), Boolean)
        Me.txtExpression.WordWrap = CType(resources.GetObject("txtExpression.WordWrap"), Boolean)
        '
        'lblExpression
        '
        Me.lblExpression.AccessibleDescription = resources.GetString("lblExpression.AccessibleDescription")
        Me.lblExpression.AccessibleName = resources.GetString("lblExpression.AccessibleName")
        Me.lblExpression.Anchor = CType(resources.GetObject("lblExpression.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblExpression.AutoSize = CType(resources.GetObject("lblExpression.AutoSize"), Boolean)
        Me.lblExpression.Dock = CType(resources.GetObject("lblExpression.Dock"), System.Windows.Forms.DockStyle)
        Me.lblExpression.Enabled = CType(resources.GetObject("lblExpression.Enabled"), Boolean)
        Me.lblExpression.Font = CType(resources.GetObject("lblExpression.Font"), System.Drawing.Font)
        Me.lblExpression.Image = CType(resources.GetObject("lblExpression.Image"), System.Drawing.Image)
        Me.lblExpression.ImageAlign = CType(resources.GetObject("lblExpression.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblExpression.ImageIndex = CType(resources.GetObject("lblExpression.ImageIndex"), Integer)
        Me.lblExpression.ImeMode = CType(resources.GetObject("lblExpression.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblExpression.Location = CType(resources.GetObject("lblExpression.Location"), System.Drawing.Point)
        Me.lblExpression.Name = "lblExpression"
        Me.lblExpression.RightToLeft = CType(resources.GetObject("lblExpression.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblExpression.Size = CType(resources.GetObject("lblExpression.Size"), System.Drawing.Size)
        Me.lblExpression.TabIndex = CType(resources.GetObject("lblExpression.TabIndex"), Integer)
        Me.lblExpression.Text = resources.GetString("lblExpression.Text")
        Me.lblExpression.TextAlign = CType(resources.GetObject("lblExpression.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblExpression.Visible = CType(resources.GetObject("lblExpression.Visible"), Boolean)
        '
        'GroupBox1
        '
        Me.GroupBox1.AccessibleDescription = resources.GetString("GroupBox1.AccessibleDescription")
        Me.GroupBox1.AccessibleName = resources.GetString("GroupBox1.AccessibleName")
        Me.GroupBox1.Anchor = CType(resources.GetObject("GroupBox1.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.GroupBox1.BackgroundImage = CType(resources.GetObject("GroupBox1.BackgroundImage"), System.Drawing.Image)
        Me.GroupBox1.Controls.Add(Me.btnFilter)
        Me.GroupBox1.Controls.Add(Me.lblFilter)
        Me.GroupBox1.Controls.Add(Me.txtFilter)
        Me.GroupBox1.Controls.Add(Me.btnExpression)
        Me.GroupBox1.Controls.Add(Me.chkChecked)
        Me.GroupBox1.Controls.Add(Me.cboDataField)
        Me.GroupBox1.Controls.Add(Me.lblDataField)
        Me.GroupBox1.Controls.Add(Me.lblExpression)
        Me.GroupBox1.Controls.Add(Me.txtExpression)
        Me.GroupBox1.Controls.Add(Me.lblParentRelation)
        Me.GroupBox1.Controls.Add(Me.cboParentRelation)
        Me.GroupBox1.Dock = CType(resources.GetObject("GroupBox1.Dock"), System.Windows.Forms.DockStyle)
        Me.GroupBox1.Enabled = CType(resources.GetObject("GroupBox1.Enabled"), Boolean)
        Me.GroupBox1.Font = CType(resources.GetObject("GroupBox1.Font"), System.Drawing.Font)
        Me.GroupBox1.ImeMode = CType(resources.GetObject("GroupBox1.ImeMode"), System.Windows.Forms.ImeMode)
        Me.GroupBox1.Location = CType(resources.GetObject("GroupBox1.Location"), System.Drawing.Point)
        Me.GroupBox1.Name = "GroupBox1"
        Me.GroupBox1.RightToLeft = CType(resources.GetObject("GroupBox1.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.GroupBox1.Size = CType(resources.GetObject("GroupBox1.Size"), System.Drawing.Size)
        Me.GroupBox1.TabIndex = CType(resources.GetObject("GroupBox1.TabIndex"), Integer)
        Me.GroupBox1.TabStop = False
        Me.GroupBox1.Text = resources.GetString("GroupBox1.Text")
        Me.GroupBox1.Visible = CType(resources.GetObject("GroupBox1.Visible"), Boolean)
        '
        'btnFilter
        '
        Me.btnFilter.AccessibleDescription = resources.GetString("btnFilter.AccessibleDescription")
        Me.btnFilter.AccessibleName = resources.GetString("btnFilter.AccessibleName")
        Me.btnFilter.Anchor = CType(resources.GetObject("btnFilter.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.btnFilter.BackgroundImage = CType(resources.GetObject("btnFilter.BackgroundImage"), System.Drawing.Image)
        Me.btnFilter.Dock = CType(resources.GetObject("btnFilter.Dock"), System.Windows.Forms.DockStyle)
        Me.btnFilter.Enabled = CType(resources.GetObject("btnFilter.Enabled"), Boolean)
        Me.btnFilter.FlatStyle = CType(resources.GetObject("btnFilter.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.btnFilter.Font = CType(resources.GetObject("btnFilter.Font"), System.Drawing.Font)
        Me.btnFilter.Image = CType(resources.GetObject("btnFilter.Image"), System.Drawing.Image)
        Me.btnFilter.ImageAlign = CType(resources.GetObject("btnFilter.ImageAlign"), System.Drawing.ContentAlignment)
        Me.btnFilter.ImageIndex = CType(resources.GetObject("btnFilter.ImageIndex"), Integer)
        Me.btnFilter.ImeMode = CType(resources.GetObject("btnFilter.ImeMode"), System.Windows.Forms.ImeMode)
        Me.btnFilter.Location = CType(resources.GetObject("btnFilter.Location"), System.Drawing.Point)
        Me.btnFilter.Name = "btnFilter"
        Me.btnFilter.RightToLeft = CType(resources.GetObject("btnFilter.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.btnFilter.Size = CType(resources.GetObject("btnFilter.Size"), System.Drawing.Size)
        Me.btnFilter.TabIndex = CType(resources.GetObject("btnFilter.TabIndex"), Integer)
        Me.btnFilter.Text = resources.GetString("btnFilter.Text")
        Me.btnFilter.TextAlign = CType(resources.GetObject("btnFilter.TextAlign"), System.Drawing.ContentAlignment)
        Me.btnFilter.Visible = CType(resources.GetObject("btnFilter.Visible"), Boolean)
        '
        'lblFilter
        '
        Me.lblFilter.AccessibleDescription = resources.GetString("lblFilter.AccessibleDescription")
        Me.lblFilter.AccessibleName = resources.GetString("lblFilter.AccessibleName")
        Me.lblFilter.Anchor = CType(resources.GetObject("lblFilter.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblFilter.AutoSize = CType(resources.GetObject("lblFilter.AutoSize"), Boolean)
        Me.lblFilter.Dock = CType(resources.GetObject("lblFilter.Dock"), System.Windows.Forms.DockStyle)
        Me.lblFilter.Enabled = CType(resources.GetObject("lblFilter.Enabled"), Boolean)
        Me.lblFilter.Font = CType(resources.GetObject("lblFilter.Font"), System.Drawing.Font)
        Me.lblFilter.Image = CType(resources.GetObject("lblFilter.Image"), System.Drawing.Image)
        Me.lblFilter.ImageAlign = CType(resources.GetObject("lblFilter.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblFilter.ImageIndex = CType(resources.GetObject("lblFilter.ImageIndex"), Integer)
        Me.lblFilter.ImeMode = CType(resources.GetObject("lblFilter.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblFilter.Location = CType(resources.GetObject("lblFilter.Location"), System.Drawing.Point)
        Me.lblFilter.Name = "lblFilter"
        Me.lblFilter.RightToLeft = CType(resources.GetObject("lblFilter.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblFilter.Size = CType(resources.GetObject("lblFilter.Size"), System.Drawing.Size)
        Me.lblFilter.TabIndex = CType(resources.GetObject("lblFilter.TabIndex"), Integer)
        Me.lblFilter.Text = resources.GetString("lblFilter.Text")
        Me.lblFilter.TextAlign = CType(resources.GetObject("lblFilter.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblFilter.Visible = CType(resources.GetObject("lblFilter.Visible"), Boolean)
        '
        'txtFilter
        '
        Me.txtFilter.AccessibleDescription = resources.GetString("txtFilter.AccessibleDescription")
        Me.txtFilter.AccessibleName = resources.GetString("txtFilter.AccessibleName")
        Me.txtFilter.Anchor = CType(resources.GetObject("txtFilter.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtFilter.AutoSize = CType(resources.GetObject("txtFilter.AutoSize"), Boolean)
        Me.txtFilter.BackgroundImage = CType(resources.GetObject("txtFilter.BackgroundImage"), System.Drawing.Image)
        Me.txtFilter.Dock = CType(resources.GetObject("txtFilter.Dock"), System.Windows.Forms.DockStyle)
        Me.txtFilter.Enabled = CType(resources.GetObject("txtFilter.Enabled"), Boolean)
        Me.txtFilter.Font = CType(resources.GetObject("txtFilter.Font"), System.Drawing.Font)
        Me.txtFilter.ImeMode = CType(resources.GetObject("txtFilter.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtFilter.Location = CType(resources.GetObject("txtFilter.Location"), System.Drawing.Point)
        Me.txtFilter.MaxLength = CType(resources.GetObject("txtFilter.MaxLength"), Integer)
        Me.txtFilter.Multiline = CType(resources.GetObject("txtFilter.Multiline"), Boolean)
        Me.txtFilter.Name = "txtFilter"
        Me.txtFilter.PasswordChar = CType(resources.GetObject("txtFilter.PasswordChar"), Char)
        Me.txtFilter.RightToLeft = CType(resources.GetObject("txtFilter.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtFilter.ScrollBars = CType(resources.GetObject("txtFilter.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtFilter.Size = CType(resources.GetObject("txtFilter.Size"), System.Drawing.Size)
        Me.txtFilter.TabIndex = CType(resources.GetObject("txtFilter.TabIndex"), Integer)
        Me.txtFilter.Text = resources.GetString("txtFilter.Text")
        Me.txtFilter.TextAlign = CType(resources.GetObject("txtFilter.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtFilter.Visible = CType(resources.GetObject("txtFilter.Visible"), Boolean)
        Me.txtFilter.WordWrap = CType(resources.GetObject("txtFilter.WordWrap"), Boolean)
        '
        'UCheckBox
        '
        Me.AccessibleDescription = resources.GetString("$this.AccessibleDescription")
        Me.AccessibleName = resources.GetString("$this.AccessibleName")
        Me.AutoScroll = CType(resources.GetObject("$this.AutoScroll"), Boolean)
        Me.AutoScrollMargin = CType(resources.GetObject("$this.AutoScrollMargin"), System.Drawing.Size)
        Me.AutoScrollMinSize = CType(resources.GetObject("$this.AutoScrollMinSize"), System.Drawing.Size)
        Me.BackgroundImage = CType(resources.GetObject("$this.BackgroundImage"), System.Drawing.Image)
        Me.Controls.Add(Me.GroupBox1)
        Me.Controls.Add(Me.txtToolTip)
        Me.Controls.Add(Me.lblToolTip)
        Me.Controls.Add(Me.chkTabStop)
        Me.Controls.Add(Me.lblTabIndex)
        Me.Controls.Add(Me.nudTabIndex)
        Me.Controls.Add(Me.lblCheckStyle)
        Me.Controls.Add(Me.cboCheckStyle)
        Me.Enabled = CType(resources.GetObject("$this.Enabled"), Boolean)
        Me.Font = CType(resources.GetObject("$this.Font"), System.Drawing.Font)
        Me.ImeMode = CType(resources.GetObject("$this.ImeMode"), System.Windows.Forms.ImeMode)
        Me.Location = CType(resources.GetObject("$this.Location"), System.Drawing.Point)
        Me.Name = "UCheckBox"
        Me.RightToLeft = CType(resources.GetObject("$this.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.Size = CType(resources.GetObject("$this.Size"), System.Drawing.Size)
        CType(Me.nudTabIndex, System.ComponentModel.ISupportInitialize).EndInit()
        Me.GroupBox1.ResumeLayout(False)
        Me.ResumeLayout(False)

    End Sub

#End Region

    Public Event ValueChanged As EventHandler

    Private Sub UCheckBox_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        AddHandler chkChecked.CheckedChanged, AddressOf OnValueChanged
        AddHandler cboDataField.TextChanged, AddressOf OnValueChanged
        AddHandler cboParentRelation.SelectionChangeCommitted, AddressOf OnValueChanged
        AddHandler txtExpression.TextChanged, AddressOf OnValueChanged
        AddHandler txtFilter.TextChanged, AddressOf OnValueChanged
        AddHandler cboCheckStyle.SelectionChangeCommitted, AddressOf OnValueChanged
        AddHandler txtToolTip.TextChanged, AddressOf OnValueChanged
        AddHandler nudTabIndex.ValueChanged, AddressOf OnValueChanged : AddHandler nudTabIndex.TextChanged, AddressOf OnValueChanged
        AddHandler chkTabStop.CheckedChanged, AddressOf OnValueChanged
    End Sub

    Protected Sub OnValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
        RaiseEvent ValueChanged(Me, New EventArgs)
    End Sub

    Public Sub Prepare(ByVal section As Model10.Section)
        cboDataField.Items.Clear()

        Dim dc As DataColumn
        For Each dc In section.Table.DataTable.Columns
            cboDataField.Items.Add(dc.ColumnName)
        Next : dc = Nothing
        '-------------------
        cboParentRelation.Items.Clear()
        cboParentRelation.Items.Add("[None]")

        Dim rlt As Model10.Relation
        For Each rlt In section.Table.Presentation.Relations 'section.Table.ParentRelations
            cboParentRelation.Items.Add(rlt)
        Next : rlt = Nothing
        '-------------------
        cboCheckStyle.Items.Clear()
        cboCheckStyle.Items.Add(Model10.CheckStyle.Normal)
        cboCheckStyle.Items.Add(Model10.CheckStyle.Flat)
    End Sub

    Public Sub Read(ByVal checkBox As Model10.CheckBox)
        chkChecked.Checked = checkBox.Checked
        cboDataField.Text = checkBox.DataField
        If checkBox.ParentRelation Is Nothing Then
            cboParentRelation.SelectedItem = "[None]"
        Else
            cboParentRelation.SelectedItem = checkBox.ParentRelation
        End If
        txtExpression.Text = checkBox.Expression
        txtFilter.Text = checkBox.Filter
        cboCheckStyle.SelectedItem = checkBox.CheckStyle
        txtToolTip.Text = checkBox.ToolTip
        nudTabIndex.Value = checkBox.TabIndex
        chkTabStop.Checked = checkBox.TabStop
    End Sub
    Public Sub Write(ByVal checkBox As Model10.CheckBox)
        checkBox.Checked = chkChecked.Checked
        checkBox.DataField = cboDataField.Text
        If cboParentRelation.Text = "[None]" Then
            checkBox.ParentRelation = Nothing
        Else
            checkBox.ParentRelation = CType(cboParentRelation.SelectedItem, Model10.Relation)
        End If
        checkBox.Expression = txtExpression.Text
        checkBox.Filter = txtFilter.Text
        checkBox.CheckStyle = CType(cboCheckStyle.SelectedItem, Model10.CheckStyle)
        checkBox.ToolTip = txtToolTip.Text
        checkBox.TabIndex = CInt(nudTabIndex.Value)
        checkBox.TabStop = chkTabStop.Checked
    End Sub
End Class